package com.mall.properties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * oss配置类
 * @author 勾新杰
 * @version 1.0
 * @date 2024/11/23 13:21
 */
@Data
@Component
@ConfigurationProperties(prefix = "aliyun.oss")
public class OssProperties {
    private String endpoint; // 阿里云oss地址
    private String bucketName; // 阿里云oss存储桶名称
    private String region; // 阿里云oss存储桶所在地域
}
